home *** CD-ROM | disk | FTP | other *** search
- Path: soap.news.pipex.net!pipex!usenet
- From: m.hendry@dial.pipex.com (Mathew Hendry)
- Newsgroups: comp.sys.amiga.applications
- Subject: Re: Tools Manager and Memory
- Date: Mon, 8 Jan 96 17:07:32
- Organization: Private node.
- Distribution: world
- Message-ID: <19960108.44F2A8.F6F9@an074.du.pipex.com>
- References: <861.6581T612T2111@genie.geis.com>
- NNTP-Posting-Host: an074.du.pipex.com
- X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
-
- Steven Folberg (s.folberg@genie.geis.com) wrote:
- : Another question: Can you get a TM dock button assigned to a CLI program to
- : open a shell window (I'm running WB 3.0)? I have a button assigned to my
- : AmiTCP startup script, called PPPOn, but I need at a certain point in the
- : script to input my password. The dock button runs the program just fine, but
- : without a shell window or any way to enter my password, the dock's useless.
-
- Try this:
-
- 1. Create a dock of type "Exec" called "Connect" or whatever.
- 2. Set it to type "CLI"
- 3. Specify something similar to this as the command to execute:
-
- NewShell "CON:50/50/500/200/AmiTCP Connect" FROM S:Connect-Startup
-
- 4. Create a script S:Connect-Startup containing the following:
-
- <Whatever command(s) you use to dial up and start AmiTCP>
- ...
- EndCLI
-
- 5. Add this dock to your dockbar/menu as normal, with a nice image for it etc.
-
- This way, when you click on your "Connect" dock, ToolManager will open a new
- shell window and execute S:Connect-Startup, which will first dial in for you,
- start AmiTCP (requesting your password as is does so) and then close the
- shell window. You should edit S:Connect-Startup according to the commands/
- scripts you use to dial in. You could also add the commands you use to send/
- receive mail and news, so that this is done automatically each time you log
- on.
-
- This is basically the way I use to dial in and connect. I also have another
- dock called "Hangup" (and a corresponding script called S:Hangup-Startup)
- to hang up for me. Works well enough.
-
- -- Mat.
-